import Vue from 'vue'
import Vuex from 'vuex';
import home from '@/store/home'
import search from '@/store/search'
import detail from '@/store/detail'
import shoppingcar from '@/store/shoppingcar'
import user from '@/store/user'
import trade from '@/store/trade'

Vue.use(Vuex)


export default new Vuex.Store({
    modules: {
        home, search, detail, shoppingcar, user, trade
    }
})